package com.android.camera.one.v2.photo;

import com.android.camera.async.BufferQueue;
import com.android.camera.one.v2.IReprocessExcutor;
import com.android.camera.one.v2.camera2proxy.ImageProxy;
import com.android.camera.one.v2.core.FrameServer;
import com.android.camera.one.v2.core.RequestBuilder;
import com.android.camera.one.v2.core.RequestBuilder.Factory;
import com.android.camera.one.v2.sharedimagereader.ManagedImageReader;
import com.android.camera.one.v2.sharedimagereader.metadatasynchronizer.MetadataPool;

public abstract class ImageCaptureCommandExt implements ImageCaptureCommand {
	protected BufferQueue<ImageProxy> mZslRingBuffer;
	protected MetadataPool mZslMetadataPool;
	protected FrameServer mFrameServer;
	protected Factory mBuilderFactory;
	protected ManagedImageReader mImageReader;
	protected IReprocessExcutor mReprocessExcutor;
	
	public void initCaptureEnv(
			BufferQueue<ImageProxy> zslRingBuffer,MetadataPool zslMetadataPool,
			FrameServer frameServer, RequestBuilder.Factory builderFactory,
			ManagedImageReader imageReader, IReprocessExcutor reprocessExcutor) {
		mZslRingBuffer = zslRingBuffer;
		mZslMetadataPool = zslMetadataPool;
		mFrameServer = frameServer;
		mBuilderFactory = builderFactory;
		mImageReader = imageReader;
		mReprocessExcutor = reprocessExcutor;
	}
}
